s = ["ab","abc","a","djkj"]
b = sorted(s,key=lambda x :len(x))
print(b,s)
s.sort(key=len)
print(s)
